package note1.chapters.chapter7;

class Father {
	static int i = print(6);
	int j = print(8);

	public Father() {
		System.out
				.println("Father()" + "-" + i + "-" + j + "-" + InitialTest.k);
	}

	public static int print(int i) {
		System.out.println("print" + i);
		return i;
	}
}

public class InitialTest extends Father {
	static int k = print(7);
	int l = print(9);

	public InitialTest() {
		System.out.println("InitialTest()" + i + "-" + j + "-" + InitialTest.k
				+ l);
	}

	public static void main(String[] args) {
		new InitialTest();

	}

}
